package com.elephant.initializationBean.annotationScan;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 林
 * @create 2025-06-18 9:55
 */
@Service
public class CarService {

	@Autowired
	private Car car;

	public void Test(){
		System.out.println(car.getCar());
	}


	public Car getCar() {
		return car;
	}

	public void setCar(Car car) {
		this.car = car;
	}
}
